import {
  sync
} from 'vuex-router-sync';
import store from '../../store';
import router from '../../router';
import Application from './Application.vue';
import App from '../../framework/vue/app';
import Layout from '../../component/layout';

App.component(Layout.name, Layout);

sync(store, router);

export default App.init({
  base: '/app',
  ...Application,
  router,
  store
});